GLSample2 (Jeff C's program)


[ Follow Ups ] [ Post Followup ] [ Björn's 3D-World - Developer's Board ]

Posted by Marcelo.- from morgoth.cse.ucsc.edu (128.114.144.140) on March 08, 1998 at 04:00:44:

I tried Jeff C program under NT (without the ICD) and it works fine.

When I tried it using the ICD, I got a blank window and my cursor transfomed into a bunch of crazy lines.

I get the same problem with my program (Parametric Surfaces), just mine doesn't clear the screen (I'm doing it using OpenGL (glClear) and overriding OnEraseBkgnd (MFC):

BOOL COpenGLView::OnEraseBkgnd(CDC* pDC)
{
return TRUE;// OpenGL will erase the background
}

I don't have any clue of why this is happening. I found that glu and plain C programs work fine with the ICD (most of them), but MFC programs either crash or have this weird behavior. May be because MFC is doing something funny on the CreateWindow call? I'll check that.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Björn's 3D-World - Developer's Board ]